'use strict';

const { Controller } = require('ee-core');
const Log = require('ee-core/log');
const Services = require('ee-core/services');


class AmqpController extends Controller{

    constructor(ctx) {
        super(ctx);
    }

    initQueue(queueName) {
        return Services.get('amqp').initQueue(queueName);
    }
}


AmqpController.toString = () => '[class AmqpController]';
module.exports = AmqpController;